DocumentDataChange 
EntityType  Independent 
Logical Entity Name  DocumentDataChange 
Default Table Name  SyAudit_CmDocument 
Logical Only  NO 
Definition 
 
Note 
 

DocumentDataChange Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
DocumentDataChangeId(PK)    INTEGER  NO 
 
StudentId(FK)    INTEGER  NO 
 
DocumentId(FK)    INTEGER  YES 
 
DocumentTypeId(FK)    INTEGER  NO 
 
PropertyName    VARCHAR(50)  NO 
 
OldValue    VARCHAR(200)  YES 
 
NewValue    VARCHAR(200)  YES 
 
IsDeleted    BIT  NO 
 
LastModifiedUserId    INTEGER  NO 
 
CreatedDateTime    DATETIME  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
ts    TIMESTAMP/DATE  NO 
 
Note    VARCHAR(2000)  YES 
 
StudentId(FK)    INTEGER  YES 
 

DocumentDataChange Keys 
Key Name  Key Type  Keys 
SyAudit_CmDocument_CmDocTypeID_N_N_IDX  Inversion Entry  DocumentTypeId 
SyAudit_CmDocument_SyStudentID_N_N_IDX  Inversion Entry  StudentId 
SyAudit_CmDocument_CmDocumentID_N_N_IDX  Inversion Entry  DocumentId 
PK_SyAudit_CmDocument_SyAudit_CmDocumentID  PrimaryKey  DocumentDataChangeId 

DocumentDataChange Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
Document  Non-Identifying  Zero or One to Zero or More        DocumentId  NO 
DocumentType  Non-Identifying  Zero or One to Zero or More        DocumentTypeId  NO 
DocumentType  Non-Identifying  One To Zero or More        DocumentTypeId  NO 
Document  Non-Identifying  Zero or One to Zero or More        DocumentId  NO 
Student  Non-Identifying  One To Zero or More        StudentId  NO 
Student  Non-Identifying  Zero or One to Zero or More        StudentId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

DocumentDataChange Check Constraints 
Check Constraint Name  CheckConstraint